pp108 : Aligning Controls

Aligning Controls

This topic describes the procedure for aligning controls.

Process Platform XForms provides the functionality to align multiple controls with respect to a control. You can thus define relative positions for specific controls in an XForm.

  1. Open the XForm in the XForms Designer.
  2. Select the controls to align.
  3. Right-click the control to which the other selected controls need to be aligned, select Align, and select the appropriate option from the sub-menu:
    • Select Align Left to align the selected controls to the left of the control.
    • Select Align Center to vertically center-align the selected controls with the control.
    • Select Align Right to align the selected controls to the right of the control.
    • Select Align Top to align the selected controls to the top of the control.
    • Select Align Middle to horizontally center-align the selected controls with the control.
    • Select Align Bottom to align the selected controls to the bottom of the control.
    • Select Make Same Width > Labels, Elements, or Both to modify the width of labels, controls, or both for the selected controls with respect to the control.
    • Select Make Same Height to modify the height of the selected controls with respect to the control.
    • Select Make Same Size to modify the size of the selected controls with respect to the control.
    • Select Distribute Horizontal to specify equal horizontal spacing between selected controls.
    • Select Distribute Vertical to specify equal vertical spacing between the selected controls.

      Note:

      • In case of vertical and horizontal layouts, only the Make Same Width, Make Same Height, and Make Same Size options are available in the context menu.
      • It is not possible to align multiple, selected controls with respect to the Button, Image, TabPage, or Radio controls.

Depending on the option you select, the selected controls are aligned with the specific control.